<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="BIG5"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Sign In</title>
<link rel="stylesheet" href="css/black-tie/jquery-ui-1.9.0.custom.css" type="text/css" />
<link rel="stylesheet" href="css/theme1.css" type="text/css" />
<link rel="stylesheet" href="css/style.css" type="text/css" />
<script type="text/javascript" src="js/jquery-1.8.2.js"></script>
<script type="text/javascript" src="js/jquery-ui-1.9.0.custom.js"></script>
<script type="text/javascript" src="js/common.js"></script>  
<!-- <script type="text/javascript" src='http://jqueryjs.googlecode.com/files/jquery-1.3.2.min.js'></script> -->
<!-- <script type="text/javascript" src='js/password_strength_plugin.js'></script>  -->
<script type="text/javascript" src="js/validation.js"></script>
</head>
<body>
	<jsp:include page="sections/header.jsp" />
	<div id="main">
		<div id="gallery" style="border: 0px; width: 400px;"></div>
		<div id="userRegForm">
			<form method="post" action="loginServlet" onsubmit="return validat_login_form()">
				<h1>Sign In</h1>
				<%if (request.getParameter("requestURI") != null) {%>
					<input type="hidden" name="requestURI" value="<%=request.getParameter("requestURI") %>" />
				<%} %>
				<fieldset style="width: 230px;">
	    				<legend>Sign In</legend>
					<table>
						<tr>
							<td><label>Don't have a account ID?</label></td>
						</tr>
						<tr>
							<td><input type="button" class="submitButt" value="Create New Account"  onClick="location.href='userRegistration.jsp'"/></td>
						</tr>
						<tr>
							<td><hr size=2 align=center width=100%></hr></td>
						</tr>
						<tr>
							<td><label>&nbsp;</label></td>
						</tr>
						<tr>
							<td><label>Sign into Shopping System</label></td>
						</tr>
						<tr>
							<td><label>&nbsp;</label></td>
						</tr>
						<tr>
							<td><label>E-mail : </label></td>
						</tr>
						<tr>
							<td><input type="text" name="eMail" size="31" /></td>
						</tr>
						<tr>
							<td><label>Password : </label></td>
						</tr>
						<tr>
							<td><input type="password" name="password" id="password" size="31" /></td>
							<!-- <td id="passwordErrorMsg" class="errorMsg"></td> -->
						</tr>
					</table>
					</br>
					<input type="submit" id="userRegSubmitButton" class="submitButt" value="Sign In" />
				</fieldset>
			</form>
		</div>
	</div>
</body>
</html>